<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>分类编辑后台管理</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/main.css"/>
    <link rel="stylesheet" type="text/css" href="../../../../Public/static/plugins/layui/css/layui.css">
    <script type="text/javascript" src="../../../../Public/static/plugins/layui/layui.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/libs/modernizr.min.js"></script>
    <style>
        .userinfo{float: right; margin-right: 20px;}
    </style>
</head>
<body>
<!--导航-->
<div>
    <h1 class="topbar-logo none"><a href="index.html" class="navbar-brand">后台管理</a></h1>
    <ul  class="layui-nav">
        <li class="layui-nav-item"><a class="on" href="__APP__/Home/Index/index">首页</a></li>
        <li class="layui-nav-item layui-this"><a href="/" target="_blank">网站首页</a></li>
        <li class="layui-nav-item"><a href="#">管理员</a></li>
        <li class="layui-nav-item userinfo"><a href="{:U('Login/logout')}">退出</a></li>
        <li class="layui-nav-item userinfo"><a href="{:U('Index/xgpass')}">修改密码</a></li>
    </ul>
</div>



<div class="container clearfix">
    <!--侧面导航-->
    <div class="sidebar-wrap">
        <ul class="layui-nav layui-nav-tree" lay-filter="test">
            <li class="layui-nav-item"><a href="{:U('Article/add')}">新建文章</a></li>
            <li class="layui-nav-item"><a href="{:U('Article/index')}">文章管理</a></li>
            <li class="layui-nav-item"><a href="{:U('Fl/index')}">分类管理</a></li>
        </ul>
    </div>
    <!--/sidebar-->
    <div class="main-wrap">
        <div class="result-wrap">
                <h1 style="font-weight: bold">分类编辑</h1>
            <div class="result-content">
				<form action="{:U('Fl/flbjtj')}" method="POST">

                    <div class="layui-input-inline">
                        <label class="layui-form-label">名称:</label>
                        <div class="layui-input-block layui-anim layui-anim-scale">
                            <input class="layui-input" type="text" name="flname" value="{$result.flname}"/>
                        </div>
                    </div>
                    <br>
                    <br>
                    <div class="layui-input-inline">
                        <label class="layui-form-label">排序:</label>
                        <div class="layui-input-block layui-anim layui-anim-scale">
                            <input class="layui-input" type="number" name="flpx" value="{$result.flpx}"/>
                        </div>
                    </div>
					<input type="hidden" name="id" value="{$result.id}"/>
					<div style="margin-top: 10px;margin-left: 110px"><input class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger" type="submit" value="修改"/></div>
				</form>
            </div>
        </div>
    </div>
    <!--/main-->
</div>
</body>
<script>
    layui.use('element', function(){
        var element = layui.element;
    });
</script>
</html>